package com.rzjm.exercise.module.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 筒仓测距设备 记录表
 *
 * @author mr.zhou
 * @email zhouwei_nice@163.com
 * @date 2020-12-15 22:36:23
 */
@Data
@TableName("ck_device_range_record")
public class DeviceRangeRecord implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键
	//主键
	@TableId(value = "id",type = IdType.ASSIGN_UUID)
	private String id;
	private Integer	deviceId;
	private String orderNum;
	private String deviceNum;
	private String dataCode;
	private Integer nowAngle;
	private Double nowHeight;
	private Double defaultHeight;
	/**
	 *  单位 米  单位 m
	 */
	private Double nowBevel;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	private String reqDataStr;
	private String respDataStr;

	/**
	 *  当前斜率
	 */
	private Double slope;

	/**
	 *  最后临近数据的斜率
	 */
	private Double slopeLastTen;

	/**
	 *  斜率对应的截距
	 */
	private Double intercept;


}
